#@layout()
#define main()
<div class="login">
	<div class="login-screen">
		<div class="login-icon">
			<img src="#(ctx)/javascripts/Flat_UI/img/login/icon.png" alt="Welcome to World" />
			<h4>Welcome to <small>World</small></h4>
		</div>
		<form action="Login" method="post" id="selector">
			<div class="login-form">
				<div class="form-group">
					<input type="text" class="form-control login-field" value="" placeholder="Enter your name" id="login-name" name="bi_user.name" />
					<label class="login-field-icon fui-user" for="login-name"></label>
            	</div>

	            <div class="form-group">
					<input type="password" class="form-control login-field" value="" placeholder="Password" id="login-pass" name="bi_user.password" />
					<label class="login-field-icon fui-lock" for="login-pass"></label>
	            </div>

				<a class="btn btn-primary btn-lg btn-block" id="jqueryBtn" >Log in</a>
            	<a class="login-link" href="#">Lost your password?</a>
			</div>
		</form>
	</div>
    
    <script type="text/javascript">
   		 //jQuery提交  
	    $("#jqueryBtn").click(function(){  
	        $("#selector").submit();  
	    })  
    </script>
</div>      
#end

